<template>
 <div class="Home">
  <el-button @click="logout" type="info">退出</el-button>
 </div>
</template>

<script>
export default {
 name: 'Home',
 data () {
  return {

  };
 },
created(){},
computed: {},
methods: {
    logout() {
        window.sessionStorage.clear()
        this.$router.push('/login')
    }
},
components: {},
}
</script>

<style lang='less' scoped>

</style>